<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
    <script src="resources/text-based-repaint.js" type="text/javascript"></script>
    <script type="text/javascript">
       function repaintTest()
       {
           document.getElementById('im').style.width = '100px';
       }
    </script>
</head>
<body onload="runRepaintAndPixelTest();">
<p><b>BUG ID:</b> <a href="https://bugs.webkit.org/show_bug.cgi?id=3509">Bugzilla bug 3509</a> REGRESSION(125-412) Portion of nested table is not painted correctly on cafepress site</p>

<p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b>
The blue rectangle will change into a square.
</p>

<p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b> 
The blue rectangle will change into a shape that is not square.
</p>

    <table width="100%">
        <tr>
            <td style="width: 100px;">
                <div id="qu" style="margin-top: 2.0__qem;"></div>
                <div id="im" style="height: 100px; width: 50px; background: blue;">&nbsp;</div>        
            </td>
        </tr>
    </table>

</body>
</html>
